package com.sl.au.service;

import com.sl.au.entity.Account;
import com.sl.au.entity.PartBaseInfo;
import com.sl.au.entity.PartCondition;
import com.sl.au.repository.AccountRepository;
import com.sl.au.repository.PartConditionRepository;

import java.util.List;

import org.springframework.data.domain.Sort.Direction;

public interface PartConditionService extends BaseService {
	PartConditionRepository getRepository();

	List<PartCondition> getPage(int start, int length,String partId, String key, String orderName, Direction dir);

	int getCount(String partId, String key);
}
